﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrProductCategory.ascx.cs" Inherits="Controls_Products_ctrProductCategory" %>
<%@ Register Assembly="Paging" Namespace="CutePager" TagPrefix="cc1" %>

<asp:Label ID="lblCategoryName" runat="server"></asp:Label>
<br />

<asp:Repeater ID="rptProduct" runat="server" OnItemDataBound="rptProduct_ItemDataBound" OnItemCommand="rptProduct_ItemCommand">
    <ItemTemplate>

    <div style="float:left ;width:100%">

        <div style="float:left ">
        <asp:ImageButton runat="server" ID="btnProductImage" CommandName="image" Width="120px" Height="100px"/>
        </div>
        <asp:HyperLink runat="server" ID="lnkProductName" ></asp:HyperLink>
        <br />
        <asp:Label ID="lblCode" runat="server"></asp:Label>
        <br />
        <asp:LinkButton runat="server" ID="lnkAddCart" CommandName="addcart"></asp:LinkButton>
        <br />
        <asp:Label runat="server" ID="lblPrice"></asp:Label>
        
    </div>
    
    </ItemTemplate>
</asp:Repeater>

<cc1:pager id="Pager1" OnCommand="pager_Command"  runat="server" ></cc1:pager>
 